package com.group.three.service;

import com.group.three.pojo.PreviewVideos;
import com.group.three.pojo.dto.AddNewPreviewVideoDto;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface PreviewVideosService {
    List<PreviewVideos> selectPreviewVideosAll();

    int deletePreviewId(Long previewId);

    List<PreviewVideos> searchByInput(String input);

    List<PreviewVideos> selectAll(int page,int size);

    boolean AddNewPreviewVideo(AddNewPreviewVideoDto addNewPreviewVideoDto);
}
